package kr.saeildamil.androidstudy.ch14;

import android.content.Context;
import android.util.AttributeSet;
import android.util.Log;
import android.widget.Button;

public class AttrButton extends Button {
	String mText;

	public AttrButton(Context context, AttributeSet attrs) {
		super(context, attrs);

		String name;
		String value;

		for (int i = 0; i < attrs.getAttributeCount(); i++) {
			name = attrs.getAttributeName(i);
			value = attrs.getAttributeValue(i);
			Log.d("AttrButton", name + "=" + value + "\n");
		}
	}
}
